package Lab4;

import java.util.ArrayList;
import java.util.Arrays;

public class week4test1 {
    public static <E> void print(ArrayList<E> o){
        for(E e:o){
            System.out.println(e);
        }
    }

    public static void main(String[] args){
        ArrayList<Integer> l = new ArrayList<>(Arrays.asList(0,1,2,3,4,5));
        print(l);
    }
}
